﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Collections.ObjectModel;

namespace CommunitySystemModel
{
    [Serializable]
    [DataContract]
    public class PublicOfficialInfo
    {
        private int _ID;
         [DataMember]
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        private string _Name;
         [DataMember]
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }


        /// <summary>
         /// 0 为 竞争性选拔
         /// 1 为 选调交流
        /// </summary>
        private int _Type;
         [DataMember]
        public int Type
        {
            get { return _Type; }
            set { _Type = value; }
        }

        /// <summary>
        /// 0 为 暂存
        /// 1 为 发布
        /// </summary>
         private int _Status;
        [DataMember]
         public int Status
         {
             get { return _Status; }
             set { _Status = value; }
         }
         

        private string _Infomation;
         [DataMember]
        public string Infomation
        {
            get { return _Infomation; }
            set { _Infomation = value; }
        }

        private string _DSC;
         [DataMember]
        public string DSC
        {
            get { return _DSC; }
            set { _DSC = value; }
        }

        private string _InputName;
         [DataMember]
        public string InputName
        {
            get { return _InputName; }
            set { _InputName = value; }
        }


        private DateTime? _InputTiem;
         [DataMember]
        public DateTime? InputTime
        {
            get { return _InputTiem; }
            set { _InputTiem = value; }
        }

        private string _DownloadFile;
         [DataMember]
        public string DownloadFile
        {
            get { return _DownloadFile; }
            set { _DownloadFile = value; }
        }

         private string _Office;
        [DataMember]
         public string Office
         {
             get { return _Office; }
             set { _Office = value; }
         }

        private DateTime? _YM;
        [DataMember]
        public DateTime? YM
        {
            get { return _YM; }
            set { _YM = value; }
        }

        private ObservableCollection<ExameOrg> _Orgs = new ObservableCollection<ExameOrg>();
        [DataMember]
        public ObservableCollection<ExameOrg> Orgs
        {
            get { return _Orgs; }
            set { _Orgs = value; }
        }
        
       
        

         //private ObservableCollection<Files> _Files = new ObservableCollection<Files>();
         //[DataMember]
         //public ObservableCollection<Files> Files
         //{
         //    get { return _Files; }

         //}
        
        
        
    }
}
